import request from '@/utils/request'
export function fetchList(params) {
return request({
url: '/ums/umsMemberCardRecord/list',
method: 'get',
params: params
})
}
export function createUmsMemberCardRecord(data) {
return request({
url: '/ums/umsMemberCardRecord/create',
method: 'post',
data: data
})
}

export function deleteUmsMemberCardRecord(id) {
return request({
url: '/ums/umsMemberCardRecord/delete/' + id,
method: 'get',
})
}

export function getUmsMemberCardRecord(id) {
return request({
url: '/ums/umsMemberCardRecord/' + id,
method: 'get',
})
}

export function updateUmsMemberCardRecord(id, data) {
return request({
url: '/ums/umsMemberCardRecord/update/' + id,
method: 'post',
data: data
})
}

